package drds.global_transaction.api.in_bound_handler;

import drds.global_transaction.api.api.RpcContext;
import drds.global_transaction.api.message_codec.request_and_response.RequestMessage;
import drds.global_transaction.api.message_codec.request_and_response.ResponseMessage;

public interface TransactionMessageHandler
{
	ResponseMessage onRequest(RpcContext rpcContext, RequestMessage request);

	void onResponse(RpcContext rpcContext, ResponseMessage response);

}
